//
//  HUDManage.h
//  kzyjsq
//
//  Created by 李含文 on 2018/12/3.
//  Copyright © 2018年 李含文. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger {
    HWProgressHUDTypeText = 0, // 文字
    HWProgressHUDTypeLoading,  // 菊花
    HWProgressHUDTypeImages,   // 图片
} HWProgressHUDType;

NS_ASSUME_NONNULL_BEGIN

@interface HUDManage : NSObject

/// 普通文字
+ (void)showHUDWithTitle:(NSString *)title;
+ (void)showHUDWithTitle:(NSString *)title afterDelay:(NSTimeInterval)delay;
/// 加载
+ (void)showLoadingHUDWithTitle:(NSString *)title;
+ (void)showLoadingHUD;
+ (void)dismiss;
+ (BOOL)isshow;
@end

//@interface HWProgressHUD : NSObject
//
//+ (HWProgressHUD *)shared;
//
//+ (void)showType:(HWProgressHUDType)type text:(NSString *)text time:(NSTimeInterval)time;
//
//+ (void)dismiss;
//
//+ (BOOL)isshow;
//@end

NS_ASSUME_NONNULL_END
